GtkApplication adds to the global accel map using the prefix <Actions>
which is also used by GtkAction. This causes GtkApplicationWindow to
try to parse GtkAction-added accels as if they were its own (which
fails).
Switch to a different namespace -- <GAction>/.
https://bugzilla.gnome.org/show_bug.cgi?id=668367
{
GString *s;
- s = g_string_new ("<Actions>/");
+ s = g_string_new ("<GAction>/");
g_string_append (s, action_name);
if (parameter)
{
if (accel_key == 0)
return;
- if (!g_str_has_prefix (accel_path, "<Actions>/"))
+ if (!g_str_has_prefix (accel_path, "<GAction>/"))
return;
- path = accel_path + strlen ("<Actions>/");
+ path = accel_path + strlen ("<GAction>/");
p = strchr (path, '/');
if (p)
{